#include "stdafx.h"
#include <vector>

char linha[4], imp;
int i;
using std::vector; 
vector<char> vCad;

class Funcoes{
	public:
		void cadastrar(float n1, float n2, char op, float result){
			
			char linha[4] = {char(n1), op, char(n2), char(result)};
			
			for (i=0; i<=4; i++){
				if(i != 4){
					vCad.push_back(linha[i]);
				}else{
					vCad.push_back('&');
				}
			}
			
		}

		void imprimir(){
			for ( int i = 0; i < vCad.size(); i++) {
				std::cout << vCad[i] << " ";
			}
		}
};
